//
//  AddNewAddressViewController.h
//  XDBaseFrameWork
//
//  Created by xindao on 14-10-28.
//  Copyright (c) 2014年 XD-XY. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XDBaseViewController.h"
#import "BMapKit.h"

#import "XSegmentedControl.h"
#import "ChooseAddressViewController.h"
@class AddNewAddressViewController, AddNewAddress;

@protocol AddNewAddressViewControllerDelegate <NSObject>

@optional
- (void)newViewController:(AddNewAddressViewController *)newViewController addContact:(AddNewAddress *)contact;
@end


@interface AddNewAddressViewController : XDBaseViewController<UITextFieldDelegate,ChooseAddressViewControllerDelegate,BMKLocationServiceDelegate,BMKMapViewDelegate,BMKGeoCodeSearchDelegate>
{
    BMKLocationService * locService;
    BMKMapView * mapView;

    BMKGeoCodeSearch * searcher;

    UIScrollView * mScrollView;
    XSegmentedControl * mSegmentedControl;

    UIButton * rightButton;

//    UILabel * timeLB;
    UILabel * addressLB;
    UITextField * detailAddressTF;


    UIView * indexView1; //到家拍摄
    UIView * indexView2; //影棚拍摄


    CGFloat latitude;
    CGFloat longitude;

    NSMutableArray * yingPenDataArray;  //影棚数组

    UITextView * textView;

    NSMutableArray * yinPenTimeArray;
    NSMutableArray * emplTimeArray;
}

@property(nonatomic,strong)NSString * SceneID;

@property(nonatomic,assign)BOOL comeSuperVC;
// 代理 返回上个控制器 地址
@property(nonatomic, weak) id<AddNewAddressViewControllerDelegate> delegate;
@end
